import { IPSGridExpBar } from './ipsgrid-exp-bar';
import { PSExpBarImpl } from './psexp-bar-impl';

export class PSGridExpBarImpl extends PSExpBarImpl implements IPSGridExpBar {
  get cls(): string {
    return 'PSGridExpBarImpl';
  }

  instanceof(cls: string): boolean {
    if (
      cls == 'IPSModelObject' ||
      cls == 'IPSObject' ||
      cls == 'control.IPSAjaxControl' ||
      cls == 'control.IPSControl' ||
      cls == 'control.IPSControlContainer' ||
      cls == 'control.expbar.IPSExpBar' ||
      cls == 'control.expbar.IPSGridExpBar'
    )
      return true;
    return super.instanceof(cls);
  }
}
